package com.jianneng.jdg.model.fragment;

import com.example.com.jianneng.jdg.R;
import com.jianneng.jdg.model.adapter.SquareListAdapter;
import com.jianneng.jdg.model.gallery.ReleaseListService;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import android.widget.TextView;

public class FragmentCircleSquare extends Fragment {
	private ListView mSquareListView;
	private SquareListAdapter mAdapter;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		 View view = inflater.inflate(R.layout.fragment_circle_square, container, false);
		 mSquareListView = (ListView) view.findViewById(R.id.square_listview);
		 mAdapter = new SquareListAdapter(ReleaseListService.getReleaseService(), getActivity());
		 mSquareListView.setAdapter(mAdapter);
		 return view;
	}
	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		
		super.onActivityCreated(savedInstanceState);
		
		
	}

	
	
}
